package cn.hinglo.common.ratelimit.config;

/**
 * @author HingLo
 * @createTime: 2018/9/25 13:50
 * @description: 限流类型
 */
public class LimitType {

    /**
     * 通过IP限流
     */
    public static final String TYPE_IP = "ip";

    /**
     * 通过请求头限流
     */
    public static final String TYPE_REQUEST = "request";

    /**
     * 通过用户限流
     */
    public static final String TYPE_USER = "user";

    /**
     * 并发限流
     */
    public static final String TYPE_CONCURRENCY = "concurrency";

}
